<template>
	<div class="wrapper">

		<div class="list">
			<!-- 	<text class="text" @click="submit('0')">保存</text> -->
			<text class="text" @click="submit('1')">签认</text>
		</div>
	</div>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		created() {

			// uni.$on('play-video', (data) => {
			// 	if(data.status === 'open'){
			// 		this.addItem();
			// 	}else{
			// 		this.closeItem();
			// 	}
			// })
		},
		beforeDestroy() {
			// uni.$off('play-video')
			// this.closeItem()
		},
		methods: {
			submit(e) {
				// console.log(e)
				uni.$emit('drawer-page', e);
			},
			// closeItem() {
			// 	if(this.interval) clearInterval(this.interval);
			// }
		}
	}
</script>

<style scoped>
	.wrapper {
		width: 750rpx;
		position: relative;
		flex: 1;
		display: flex;

		align-items: center;
		/* background-color: #1CBBB4; */
		justify-content: center !important;


	}


	.list {
		position: absolute;
		/* width: 80%; */
		width: 750rpx;
		/* width: 570rpx; */
		height: 90px;

		/* display: flex; */
		flex-direction: row;
		justify-content: space-between;
		/* justify-content: center; */
		align-items: center;
		padding: 0 55rpx 0 55rpx;
		background-color: #fff;
		border-top-color: #eee;
		border-top-style: solid;
		border-top-width: 4px;
		display: flex;

		align-items: center;
		/* background-color: #1CBBB4; */
		justify-content: center !important;

	}

	.text {
		height: 50px;
		color: #fff;
		background-color: #0863E8;
		/* width: 40%; */
		width: 550rpx;
		/* width: 552rpx; */
		/* width: 456rpx; */
		text-align: center;
		line-height: 50px;
		border-radius: 25px;
		font-size: 30upx;
	}
</style>
